package com.thinklib.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.stereotype.Component;
import java.util.Date;

@Component
public class Book {
    private String bookId;
    private String bookName;
    private String avatar;
    private String alibabaCloud;
    private String baiduCloud;
    private String fileSize;
    private int status;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAlibabaCloud() {
        return alibabaCloud;
    }

    public void setAlibabaCloud(String alibabaCloud) {
        this.alibabaCloud = alibabaCloud;
    }

    public String getBaiduCloud() {
        return baiduCloud;
    }

    public void setBaiduCloud(String baiduCloud) {
        this.baiduCloud = baiduCloud;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
